package com.ludaxin.dao;

import java.util.List;

import com.ludaxin.model.Account;
import com.ludaxin.model.BaseModel;
import com.ludaxin.model.Page;
import com.ludaxin.model.User;
import com.ludaxin.model.vo.UserVo;

public interface UserDAO {
    /**
     * 根据用户的相关信息查找用户列表
     * 
     * @param user
     *            //用户对象
     * @return
     */
    public List<User> getUsers(UserVo user);
    /**
* 所有用户  分页拦截器
* @author wangwei 
*/
    public List<? extends BaseModel> getAllAccountsPager(Account account,Page page);
    public List<? extends BaseModel> getAllAccountsPager(Account account,Page page,String userId);
    public int getAllAccountsCount(String userId);
    public int getAllAccountsCount();
}
